#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <assert.h>
char* mofang_strcat(char* x, const char* y)
{
	assert(x && y);
	char* s = x;
	while (*x != '\0')
	{
			x++;
	}
	while (*x++ = *y++)
	{
		;
	}
	return s;


}
int main()
{
	char arr1[50] = "hello ";
	char arr2[] = "world";
	char* w=mofang_strcat(arr1, arr2);
	printf("%s", w);

	return 0;
}